package webPages;

import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.markup.html.WebPage;

public abstract class BasePage extends WebPage {
	private static final long serialVersionUID = 1L;

    public BasePage() {
    	
		add(new Link("listadoEmpleados"){
			private static final long serialVersionUID = 1L;

			@Override
			public void onClick() {
				setResponsePage(new ListadoEmpleadosPage());
			}});
		add(new Link("listadoExcepciones"){
			private static final long serialVersionUID = 1L;

			@Override
			public void onClick() {
				setResponsePage(new ListadoExcepcionesPage());
			}});
		add(new Link("listadoPlanificaciones"){
			private static final long serialVersionUID = 1L;

			@Override
			public void onClick() {
				setResponsePage(new ListadoPlanificacionesPage());
			}});
		
		add(new FeedbackPanel("feedbackPanel"));
    }

}
